package com.ruoyi.economize.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 【省份】对象 economize
 *
 * @author ruoyi
 * @date 2025-07-09
 */
@ApiModel(description = "省份信息实体")
public class Economize extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID", example = "主键ID")
    private Long id;

    @ApiModelProperty(value = "省份名称", example = "省份名称")
    @Excel(name = "省份")
    private String economizeName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setEconomizeName(String economizeName)
    {
        this.economizeName = economizeName;
    }

    public String getEconomizeName()
    {
        return economizeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("economizeName", getEconomizeName())
                .toString();
    }
}
